package com.it.service;

import com.it.bean.Document;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface DocumentService {

    Document upload(MultipartFile file) throws IOException;

    byte[] read(String uuid) throws IOException;

    List<Document> uploads(MultipartFile[] files) throws IOException;
}
